let d1:Date = new Date(1000)


// 传递一个字符串
let d2: Date = new Date('2020/04/27 20:36:00')
console.log(d1, d2)
// 1970-01-01T00:00:01.000Z
// 2020-04-27T12:36:00.000Z

export {}